﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UnfinishedOrders.aspx.cs" Inherits="Liguo.Administration.UnfinishedOrders" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="refresh" content="120" /> 
    <title>处理未完成订单</title>
</head>
<body>
    <form id="form1" runat="server"> 
               
        <div>
            <font size="8">新到来的订单:</font><font size="6">
             <a href="SendGoods.aspx">去送货</a>&nbsp; 
             <a href="UnfinishedOrders.aspx">刷新</a>   <br />
            <br />                
                用户名：<asp:TextBox  ID="TextSearchUserName" runat="server"></asp:TextBox> 
                &nbsp;<asp:Button ID="ButtonModifyOrders" Font-Size="Medium" BackColor="Green" runat="server" 
                Text="修改订单" OnClick="ButtonModifyOrders_Clicked" />
                <br />
             </font><br />
            <asp:GridView ID="GridView1" DataKeyNames="ID" runat="server" Height="300px" Width="457px" 
                AutoGenerateColumns="False" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical">
                <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <asp:BoundField DataField="ID" HeaderText="订单ID"  ReadOnly="true" />
                    <asp:BoundField DataField="UserID" HeaderText="用户ID" ReadOnly="true" />
                    <asp:BoundField DataField="Time" HeaderText="时间" ReadOnly="true" />
                    <asp:BoundField DataField="Remark" HeaderText="评论" ReadOnly="true" />
                    <asp:TemplateField HeaderText="删除订单"> 
                        <ItemTemplate>
                            <asp:DropDownList ID="DropDownList1" runat="server"
                                DataValueField="Status" AutoPostBack="true"
                                OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
                                <asp:ListItem Value="0">待完成</asp:ListItem>
                                <asp:ListItem Value="1">去完成订单</asp:ListItem>
                                <asp:ListItem Value="2">删除订单(退订)</asp:ListItem>
                            </asp:DropDownList>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <FooterStyle BackColor="#CCCC99" />
                <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                <RowStyle BackColor="#F7F7DE" /> 
                <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                <SortedAscendingCellStyle BackColor="#FBFBF2" />
                <SortedAscendingHeaderStyle BackColor="#848384" />
                <SortedDescendingCellStyle BackColor="#EAEAD3" />
                <SortedDescendingHeaderStyle BackColor="#575357" />
            </asp:GridView>
            <br />
            <br />
            <br />
        </div>
    </form>
</body>
</html>
